package com.camartsApp.common;


import lombok.Data;

@Data
public class ResultVO {
    private int code;
    private String msg;
    private Object data;
    public static int  SUCCESS = 0;
    public static int FAIL = 1;
    public static int ERROR = 2;      // 添加错误状态码
    public static int TIMEOUT = 3;    // 添加超时状态码

    public ResultVO(int code, String msg, Object data){
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

}
